package com.shop.www.model;

import java.util.Date;
import java.util.List;

public class Order {//订单
    private Integer order_ID;
    private String order_No;
    private Date order_date;
    private Double order_money;
    private Integer order_count;
    private Integer order_status;
    private Integer user_ID;
    private Integer seller_ID;
    private Integer courier_ID;

    private User user;
    private User seller;
    private List<OrderItem> orderItemList;


    public Order(){

    }

    public Order(Integer order_ID) {
        this.order_ID = order_ID;
    }

    public Order(Integer order_ID, Integer order_status) {
        this.order_ID = order_ID;
        this.order_status = order_status;
    }

    public Order(Integer order_ID, String order_No, Date order_date, Double order_money, Integer order_count, Integer order_status, Integer user_ID, List orderItemList) {
        this.order_ID = order_ID;
        this.order_No = order_No;
        this.order_date = order_date;
        this.order_money = order_money;
        this.order_count = order_count;
        this.order_status = order_status;
        this.user_ID = user_ID;
        this.orderItemList = orderItemList;
    }

    public Order(Integer order_ID, Integer order_status, Integer courier_ID) {
        this.order_ID = order_ID;
        this.order_status = order_status;
        this.courier_ID = courier_ID;
    }

    public Integer getOrder_ID() {
        return order_ID;
    }

    public void setOrder_ID(Integer order_ID) {
        this.order_ID = order_ID;
    }

    public String getOrder_No() {
        return order_No;
    }

    public void setOrder_No(String order_No) {
        this.order_No = order_No;
    }

    public Date getOrder_date() {
        return order_date;
    }

    public void setOrder_date(Date order_date) {
        this.order_date = order_date;
    }

    public Double getOrder_money() {
        return order_money;
    }

    public void setOrder_money(Double order_money) {
        this.order_money = order_money;
    }

    public Integer getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Integer order_status) {
        this.order_status = order_status;
    }

    public Integer getUser_ID() {
        return user_ID;
    }

    public void setUser_ID(Integer user_ID) {
        this.user_ID = user_ID;
    }

    public Integer getSeller_ID() {
        return seller_ID;
    }

    public void setSeller_ID(Integer seller_ID) {
        this.seller_ID = seller_ID;
    }

    public Integer getCourier_ID() {
        return courier_ID;
    }

    public void setCourier_ID(Integer courier_ID) {
        this.courier_ID = courier_ID;
    }

    public Integer getOrder_count() {
        return order_count;
    }

    public void setOrder_count(Integer order_count) {
        this.order_count = order_count;
    }


    public List getOrderItemList() {
        return orderItemList;
    }

    public void setOrderItemList(List orderItemList) {
        this.orderItemList = orderItemList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public User getSeller() {
        return seller;
    }

    public void setSeller(User seller) {
        this.seller = seller;
    }
}
